package com.hengxinguotong.zhihuichengjian.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/8/24.
 */

public class NVRVideoRes implements Serializable{
    private String msg;
    private int status;
    private Video value;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Video getValue() {
        return value;
    }

    public void setValue(Video value) {
        this.value = value;
    }

    public class Video {
        private String ip;
        private String password;
        private int port;
        private String userName;
        private List<VideoChannel> channels;

        public List<VideoChannel> getChannels() {
            return channels;
        }

        public void setChannels(List<VideoChannel> channels) {
            this.channels = channels;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getPort() {
            return port;
        }

        public void setPort(int port) {
            this.port = port;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        private class VideoChannel{
            private String name;
            private int channelNum;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getChannelNum() {
                return channelNum;
            }

            public void setChannelNum(int channelNum) {
                this.channelNum = channelNum;
            }
        }
    }
}
